package com.yang.moyu.meta.config.service.impl;

import com.yang.moyu.meta.config.mapper.ConfigAdapterMapper;
import com.yang.moyu.meta.config.service.ConfigAdapterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by 10296 on 2021/12/15
 *
 * @Description: 读取数据库配置信息
 */
@Service
public class ConfigAdapterServiceImpl implements ConfigAdapterService {
    @Autowired
    private ConfigAdapterMapper configAdapterMapper;

    @Override
    public String queryConfig(String name) {
        return configAdapterMapper.queryUosConfig(name);
    }
}
